<!DOCTYPE html>
<head>
    <meta charset="UTF-8">
    <title>用户信息修改</title>
    <link rel="stylesheet" href="../../layui/css/layui.css" media="all" />
</head>
<style>
    form{
        width: 400px;
        position: absolute;
        top: 10px;
        left: 50%;
        margin-left: -215px;
    }
    #headImg{
        display: inline-block;
        width: 190px;
    }
    .btn-img{
        width: 90px;
        float: left;
        margin-right: 10px;
    }
    #headImgUp{
        width: 90px;
        height: 90px;
        border-radius: 50%;
        display: none;
        margin-left: 110px;
    }
    #demoText{
        margin-left: 110px;
    }
</style>
<body>
<form class="layui-form" lay-filter="userInfo">
    <input type="hidden" name="id">
    <div class="layui-form-item">
        <label class="layui-form-label">用户名</label>
        <div class="layui-input-block">
            <input type="text" name="username" id="username" disabled  lay-verify="required|title" placeholder="请输入用户名" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">实名</label>
        <div class="layui-input-block">
            <input type="text" name="realName" id="realName"  lay-verify="required|realName" placeholder="请输入真实姓名" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">证件号</label>
        <div class="layui-input-block">
            <input type="text" name="idNumber" id="idNumber"  lay-verify="required|id" placeholder="请输入身份证号" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">头像</label>
        <div class="layui-upload">
            <div class="btn-img">
                <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" id="upImg">上传图片</button>
            </div>
            <input type="text" id="headImg" name="head" placeholder="图片名称" autocomplete="off" class="layui-input">
            <div class="layui-upload-list">
                <img class="layui-upload-img" id="headImgUp">
                <p id="demoText"></p>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="submit">提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
</body>
<script type="text/javascript" src="../../layui/layui.js"></script>
<script type="text/javascript" src="../../js/add/addUtil.js"></script>
<script type="text/javascript" src="../../js/add/userAdd.js"></script>
</html>